//
//  MLAShopFoodCommitOrderCell.m
//  MagicLampApp
//
//  Created by Zheng on 2019/4/8.
//  Copyright © 2019 zheng.magic.lamp.app. All rights reserved.
//

#import "MLAShopFoodCommitOrderCell.h"

@implementation MLAShopFoodCommitOrderCell

- (void)setModel:(MLAShopFoodRightModel *)model {
    _model = model;
    
    [_foodImgv sd_setImageWithURL:[NSURL URLWithString:_model.product_imgs]];
    _foodNameLbl.text = _model.name;
    _priceLbl.text = [NSString stringWithFormat:@"¥ %@",_model.price];
    _numLbl.text = [NSString stringWithFormat:@"x%@",_model.num];

}


- (void)awakeFromNib {
    [super awakeFromNib];
    
    _foodImgv.layer.cornerRadius = 5;
    _foodImgv.layer.masksToBounds = YES;
    
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}



@end
